<extend name="Index/index" />
<block name="nav1">
    <ul class="breadcrumb">
        <li>
            <i class="icon-home home-icon"></i>
            <a href="#">Admin</a>
        </li>
        <li class="active">商品分类表</li>
    </ul><!-- .breadcrumb -->
</block>

<block name="nav2">
    <div class="page-content">
<div class="page-header">
    <h1>
        商品
        <small>
            <i class="icon-double-angle-right"></i>
            修改商品分类
        </small>
    </h1>
</div><!-- /.page-header -->

<div class="row">
    <div class="col-xs-12">
        <!-- PAGE CONTENT BEGINS -->

        <form class="form-horizontal" role="form" action="<{:U('update')}>" method="post">
            <input type="hidden" name="id" value="<{$data.id}>">
            <div class="form-group">
                <label class="col-sm-3 control-label no-padding-right" for="form-field-1" > 分类名 </label>

                <div class="col-sm-9">
                    <input type="text" id="form-field-1"  class="col-xs-10 col-sm-5" name="name" value="<{$data.name}>" />
                </div>
            </div>

            <div class="space-4"></div>

            <div class="form-group">
                <label class="col-sm-3 control-label no-padding-right">状态</label>

                <div class="col-sm-9">
                   
                    <input type="radio"  name="show" class="ace" value="1" <if condition="$data.show eq '1'">checked</if>/>
                    <span class="lbl">显示</span>
                
                    <input type="radio"  name="show" class="ace" value="2" <if condition="$data.show eq '2'">checked</if>/>
                    <span class="lbl">隐藏</span>
                    
                </div>
            </div>

            <div class="clearfix form-actions">
                <div class="col-md-offset-3 col-md-9">
                    <button class="btn btn-info" type="submit">
                        <i class="icon-ok bigger-110"></i>
                        Submit
                    </button>
                </div>
            </div>
            </form>
        </div>
    </div>   
</div>     
</block>
<block name="myjs">

</block>



